package net.dopan.pigframe.oss.mapper;

import net.dopan.pigframe.core.base.dao.BaseDao;
import net.dopan.pigframe.oss.model.entity.OSSConfig;

/**
 * @Package: net.dopan.pigframe.oss.mapper
 * @Title: OSSConfigMapper
 * @Description: OSS配置 Mapper 接口
 * @author: 刘宽
 * @date: 2018/9/2 20:40
 */
public interface OSSConfigMapper extends BaseDao<OSSConfig> {

    /**
     * 根据key获取value
     *
     * @param key
     * @return
     */
    String queryByKey(String key);

    /**
     * 根据key更新value
     *
     * @param key
     * @param value
     * @param id
     */
    void updateValueByKey(String key, String value, Integer id);
}